#ifndef USERDATA_H
#define USERDATA_H

#include <iostream>
#include <string>

class UserData
{
	public:
	    	std::string getUsername();
	    	std::string getPassword();
		void setUsername(const std::string &username);
	    	void setPassword(const std::string &password);

		void load(const std::string &filename);
		void save(const std::string &filename);
		bool exists(const std::string &filename);

		static std::string getDefaultFilename();
		
	private:
		std::string username;
		std::string password;
};

#endif
